//
//  NotesList.h
//  NoteTakingApp
//
//  Created by anaraghi on 2/28/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Utilities.h"


@interface NotesList : NSObject {
	NSMutableArray *notes;

}

-(void)writeToFile:(BOOL)atomic;

-(NSString*)getNoteAtIndex:(int)index;
-(NSString*)getLabelAtIndex:(int)index;
-(void)newNote;
-(void)setNoteLabel:(NSString*)newLabel atIndex:(int)index;
-(void)setNoteContents:(NSString*)noteContents atIndex:(int)index;
-(int)size;
-(int)lastIndex;
-(void)deleteNoteAtIndex:(int)index;

@end
